#coding=utf-8
from django.db import models

class MyIndex(models.Model):
    
    date = models.DateField()
    name = models.CharField(max_length=20)
    price = models.DecimalField( max_digits=8, decimal_places=4, null=True, blank=True)
    change = models.DecimalField( max_digits=6, decimal_places=4, null=True, blank=True )
    hsl = models.DecimalField( max_digits=6, decimal_places=2, null=True, blank=True )
    
    class Meta:
        app_label = 'stock'